﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetfractionHub.LocalMachine.BotCommands
{
    public class BotReturnStatus
    {
        public bool Success = false;
        public string Message = string.Empty;
        public bool BroadcastMessage = false;

        public BotReturnStatus(bool success)
        {
            Success = success;
        }

        public BotReturnStatus(bool success, string message)
        {
            Success = success;
            Message = message;
        }

        public BotReturnStatus(bool success, string message, bool broadcastMessage)
        {
            Success = success;
            Message = message;
            BroadcastMessage = broadcastMessage;
        }

        public static implicit operator BotReturnStatus(bool b)
        {
            return new BotReturnStatus(b);
        }
    }
}
